package org.dreamwork.jasmine2.web.client;

/**
 * Created by IntelliJ IDEA.
 * User: seth.yang
 * Date: 12-4-26
 * Time: 上午11:24
 */
public class RenderKernel {
    private RenderkernelType type;
    private Version version;

    public static final RenderKernel UNKNOWN = new RenderKernel (RenderkernelType.Unknown, Version.UNKNOWN);

    public RenderKernel () {}

    public RenderKernel (RenderkernelType type, Version version) {
        this.type = type;
        this.version = version;
    }

    public RenderkernelType getType () {
        return type;
    }

    public void setType (RenderkernelType type) {
        this.type = type;
    }

    public Version getVersion () {
        return version;
    }

    public void setVersion (Version version) {
        this.version = version;
    }

    @Override
    public String toString () {
        return type + " " + version;
    }
}